 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="../../com.attilax/ui/table.css"/>
</head>

<body>
<table width="95%" border="0" cellspacing="0" class="gridtable">
  <tr>
    <th>&nbsp;</th>
    <th>用户名</th>
    <th>ip</th>
    <th>电影</th>
    <th>时间</th>
  </tr>
  <?php
  $i=0;
  while($r = mysql_fetch_array($result)) {
//	$row_nums=  mysql_num_rows( $result ) ; 
$i++;
  
   ?>
  <tr>
    <td><?php echo $i ?></td>
    <td><?php echo $r["name"] ?>&nbsp;</td>
    <td>&nbsp; <?php echo $r["ip"] ?></td>
    <td><?php echo $r["movie"] ?></td>
    <td><?php echo $r["timenow"] ?></td>
  </tr>
  <?php }?>
</table>

</body>
</html>
